package com.peak.distribution.manager.admin;

import com.peak.distribution.entity.admin.DisSmsTemplate;
import com.peak.distribution.enums.SmsType;
import com.peak.spring.boot.api.manager.BaseManager;

public interface DisSmsTemplateManager extends BaseManager<DisSmsTemplate> {

	/**
	 * 根据类型找模版，一个类型一个模版
	 * @param type
	 * @return
	 */
	DisSmsTemplate getTemplateByType(SmsType type);
}
